//
//  ScroolPageView.swift
//  SwiftUIDemo
//
//  Created by Kael on 2020/1/13.
//  Copyright © 2020 Kael. All rights reserved.
//

import SwiftUI

struct ScroolPageView: View {
    var body: some View {
        ScrollView {
            Text("SwiftUI").padding(20).background(Color.pink)
            Divider()
            Image("icon").resizable()
                .frame(width: 300, height: 300, alignment: .center)
                .background(Color.red)
            Divider()
            Text("Views and ... user interface.")
        }
       
    }
}

struct ScroolPageView_Previews: PreviewProvider {
    static var previews: some View {
        ScroolPageView()
    }
}
